let Hook = require('./Hook.js');
const HookCodeFactory = require('./HookCodeFactory');
const factory = new HookCodeFactory()
class SyncHook extends Hook{
    compile(options){
        factory.setup(this,options);
        return factory.create(options);
    }
}
module.exports = SyncHook;